import assessCheckApi from './api'
import { axios } from '@/utils/request'
import router from '@/router/index'
import blobType from '@/common/blobType'
export function ocalityPostAction(data) {
  //console.log('字典传参',data)
  return axios({
    url: assessCheckApi.dict,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}
//批量删除
export function deleteArrServe(params){
  return axios({
    url: assessCheckApi.deleteArr,
    method:'delete' ,
    params:{...params},
    url_1:'outside'
  })
}
//新增
export function addServe(data){
  return axios({
    url: assessCheckApi.addData,
    method:'post' ,
    data:{...data},
    url_1:'outside'
  })
}
//编辑
export function editServe(data){
  return axios({
    url: assessCheckApi.editData,
    method:'post' ,
    data:{...data},
    url_1:'outside'
  })
}

//启动任务
export function beginScheduleJob(data) {
  return axios({
    url: assessCheckApi.beginScheduleJob,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}
//暂停任务
export function stopScheduleJob(data) {
  return axios({
    url: assessCheckApi.stopScheduleJob,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}

